Skip to main content

SimplePlanetRegionInfo


BeaconCount

The amount of beacons in the region at the time of the scan. It is of the type number. It is read-only, it cannot be assigned to.


Color

The primary color of the planet. It is of the type Color3. It is read-only, it cannot be assigned to.


Gravity

The gravity of the planet. It is of the type number. It is read-only, it cannot be assigned to.


HasAtmosphere

Whether the planet has an atmosphere. It is of the type boolean. It is read-only, it cannot be assigned to.


HasRings

Whether the planet has planetary rings. It is of the type boolean. It is read-only, it cannot be assigned to.


Name

The name of the planet. It is of the type string. It is read-only, it cannot be assigned to.


Resources

The resources that can be found on the planet. It is an array whose values are of the type string. It is read-only, it cannot be assigned to.


SubType

The type of the planet, such as Desert, Terra, EarthLike, etc. It is of the type PlanetType. It is read-only, it cannot be assigned to.


Temperature

The ambient temperature of the planet. It is of the type number. It is read-only, it cannot be assigned to.


TidallyLocked

Whether the planet is tidally locked, meaning, whether it has a day/night cycle. It is of the type boolean. It is read-only, it cannot be assigned to.


Type

The type of the region. It is always the string Planet. It is read-only, it cannot be assigned to.

Luau Type

This is the luau type for SimplePlanetRegionInfo. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).

export type SimplePlanetRegionInfo = {
read HasAtmosphere: boolean,
read Type: "Planet",
read Color: Color3,
read Gravity: number,
read SubType: PlanetType,
read BeaconCount: number,
read Temperature: number,
read Name: string,
read Resources: { string },
read TidallyLocked: boolean,
read HasRings: boolean,
}